<!--  -->
<template>
    <div class='content'>
      <p>{{num}}</p>
      <Son @sonBeenClick="fun"></Son>
    </div>
</template>

<script>
import son from './son'

export default {
  name: 'father',
  data() {
    return {
      num: 0
    }
  },
  methods: {
    fun() {
      this.num++
    }
  },
}
</script>

<style scoped>

</style>
